package com.example.dao;

import com.example.entity.Clients;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ClientsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Clients record);

    int insertSelective(Clients record);

    Clients selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Clients record);

    int updateByPrimaryKey(Clients record);

    List<Clients> selectAll(Map<String,Object> data);

    int count();

    Clients selectByCompany(String company);

    Clients selectByMobile(String mobile);


    List<Clients> selectSea(Map<String,Object> data);

    int seacount();

    int moveToSea(Integer id);

    List<Clients> search(String info);

    List<Clients> selectClientDrop(Map<String,Object> data);

    int dropcount();

}